//
//  BMSAuthManager.h
//  WDBMS
//
//  Created by YeJary on 2025/5/12.
//

#import <Foundation/Foundation.h>
#import "BMSAuthConfig.h"

NS_ASSUME_NONNULL_BEGIN

@interface BMSAuthManager : NSObject

/// 初始化 SDK（传入 AppId、版本、环境配置）
- (void)initializeWithConfig:(BMSAuthConfig *)config;

/// 触发隐私弹窗，回调用户是否同意
- (void)showPrivacyPopupWithCompletion:(void (^)(BOOL agreed))completion;

- (void)showExitPopupWithCompletion:(void (^)(BOOL agreed))completion;

/// 判断是否需要弹出实名（基于后端或缓存逻辑）
- (BOOL)shouldShowRealname;

/// 主动触发实名弹窗
- (void)showRealnamePopupWithCompletion:(void(^)(BOOL success))completion;

@end

NS_ASSUME_NONNULL_END
